import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import 'swiper/css/swiper.min.css'
import './stylesheets/main.scss'
import './utils/rem'
import './utils/filters'
import './utils/directives'
import './utils/globalComp'

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router, // 注册的目的就是让组件的实例this上面获取路由的相关api($route/$router)
  store // 注册的目的就是让组件的实例this上面获取仓库相关的api($store)
}).$mount('#app')
